#include <stdio.h>
#include <stdlib.h>
#define N 100
#define M 17
int main(char argv[])
{
    FILE *fp;
    char args[N],name[N],ch;
    int i=0;
    printf("please input file name:");
    gets(name);
    //name=argv;
    if((fp=fopen(name,"r"))==NULL)
    {
        printf("ERROR!");
        exit(0);
    }
    while(fgets(args,17,fp))
    {
        ascii(args,i++);
	hex(args);
    }
    fclose(fp);

 }
